<?php

namespace App\Model;

use EasySwoole\ORM\AbstractModel;

class Base extends AbstractModel
{

    public function add($data)
    {
        $result = $this->create()->data($data)->save();
        return $result;
    }

}